import { Component, OnInit, Input, TemplateRef, ElementRef } from '@angular/core';

@Component({
  selector: 'el-divider',
  templateUrl: './divider.component.html'
})
export class DividerComponent implements OnInit {
  private el: any;
  @Input() iconTmp!: TemplateRef<any>;
  //horizontal / vertical
  @Input() direction:string = 'horizontal';
  //left / right / center
  @Input('content-position') contentPosition:string = 'center';
  nativeClass: string = ' ';

  constructor(el: ElementRef) { 
    this.el = el;
    this.nativeClass += this.el.nativeElement.classList.value;
  }

  ngOnInit(): void {
  }

}
